#include <iostream>
int main(int argc, char const *argv[])
{
	using namespace std;
	double wages[3] = {1000.0,2000.0,3000.0};
	short stack [3] = {3,2,1};
	double *pw = wages;
	short *ps = &stack[0];
	cout << "pw= "  << pw << ",*pw :" << *pw <<endl;
	pw  = pw + 1;
	cout << "add 2 to the pw pointer:\n";
	cout << "pw= "  << pw << ",*pw :" << *pw <<endl;
	cout << "ps= "  << ps << ",*ps :" << *ps <<endl;
	             

	return 0;
}